<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" ng-click="cancel()">&times;</button>
    <p class="modal-title panel-title-size" >弹性伸缩</p>
</div>
<div class="modal-body panel-body">
    <form class="form-horizontal form-validation" name="addvmForm">
        <p class="modal-title panel-title-size warning" ng-bind="podmessage"></p>
        <!-- <div class="form-group">
            <div class="col-lg-12">
                <label class="control-label">cpu请求资源：</label>
                <div class="control-input">
                      <input type="text" name="taskName" class="form-control" ng-model="addData.requestValue" validator="required" maxlength="64" maxlength-error-message="最多输入64个字符">
                </div>
            </div>
        </div> -->
        <div class="form-group">
            <div class="col-lg-12">
                <label class="control-label">最小实例数：</label>
                <div class="control-input">
                      <input type="number"  class="form-control" ng-model="addData.minReplicas" validator="required,number_opt" maxlength="64" maxlength-error-message="最多输入64个字符">
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-lg-12">
                <label class="control-label">最大实例数：</label>
                <div class="control-input">
                      <input type="number" name="taskName" class="form-control" ng-model="addData.maxReplicas" validator="required,number_opt" maxlength="64" maxlength-error-message="最多输入64个字符">
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-lg-12">
                <label class="control-label">cpu百分比：</label>
                <div class="control-input">

                  <rzslider rz-slider-model="slider.value"
                            rz-slider-options="slider.options"></rzslider>
                        </div>
            </div>
        </div>
    </form>
</div>
<div class="modal-footer">
    <button type="submit" class="btn btn-info" validation-submit="addvmForm" ng-disabled="addvmForm.$invalid||chackIn||isLoadingActive" ng-click="ok()">确认</button>
    <button class="btn btn-cancel" ng-click="cancel()">取消</button>
</div>
